// pages/member/memberCard.js
var req = require('../../interfaceImpl.js');
var config = require('../../interfaceConfig.js');
var app = getApp();
var cardlist = [];
Page({
  onLoad: function (options) {
    return req.CardList(app.globalData.token).then(res => {
      console.log(res)
      cardlist =res.data.data;
      this.setData({cardlist})
    })
  },
  /**unbind:function(e){
    //TODO 解除绑定
    return req.UnBind(e.currentTarget.dataset.id,app.globalData.token).then(res=>{

    })
  }*/
})